<template>
	<view class="my-avater">
		<image :src="imgPath" mode="">
		</image>
	</view>
</template>

<script>
	export default {
		name:"mYavater",
		props: ['imgPath'],
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
	.my-avater {
		width: 50rpx;
		height: 50rpx;
		border-radius: 25rpx;
		overflow: hidden;
		image {
			width: 100%;
			height: 100%;
		}
	}

</style>
